package didto

import "gitee.com/ichub/goconfig/common/base/basedto"

type DiDto struct {
	basedto.BaseEntity
	FullPkg string `json:"fullPkg"`

	ExistNewStruct bool   `json:"ExistNewStruct"`
	NewStructName  string `json:"NewStructName"`
	//in
	PkgName    string `json:"pkg_name"`
	StructName string `json:"struct_name"`
	PathFile   string `json:"pathFile"`
	//output
	OutPath string `json:"out_path"`
	OutFile string `json:"out_file"`

	ForceBuild bool `json:"force_build"`
}

func NewDiDto() *DiDto {
	var dto = &DiDto{
		OutPath:        "./",
		ExistNewStruct: true,
	}
	dto.InitProxy(dto)
	return dto
}
